// 这里只存放用户相关请求
import request from '@/utils/request'
// 封装注册请求
export function registeredAPI(data) {
  return request.post('/h5/user/register', data)
}
// 封装登录请求
export const loginAPI = data => {
  return request.post('/h5/user/login', data)
}
// 获取用户信息
export const getUserInfoAPI = () => {
  return request.get('/h5/user/currentUser')
}
